package org.example.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 实体类 Record 账单记录
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class Record {
    private int id;
    private double spend;           // 花费的金额
    private int cid;                // 消费种类的ID编号
    private String comment;         // 给消费记录的备注
    private String location;        // 消费地点
    private Date date;              // 消费日期
}
